<template>
  <van-grid :column-num="5">
    <van-grid-item 
        v-for="item of result.category" 
        :key="item.mallCategoryId">
        <router-link :to="{path:'/list',query:{id:item.mallCategoryId}}">
          <van-image :src="$utils.$filterImgUrl(item.image)" />
          <span>{{item.mallCategoryName}}</span>
        </router-link>
    </van-grid-item>
  </van-grid>
</template>

<script>
export default {
    props:{
        result:{
            type:Object,
            required:true
        }
    }
};
</script>

<style></style>
